import { Tag} from 'antd';
import { STATUS } from '@/consts/project'


const ProjectStatus = (props) => {
    const {
        status
    } = props

    if (status || status === 0) {
        return <Tag color={STATUS[status]?.color}>{STATUS[status]?.name}</Tag>
    }
    return  (
    <Tag>/</Tag>
    )
}

export default ProjectStatus;